import styled from "styled-components";
import {Input} from "antd";
import {Button} from "@/common/header/style";
import {LightFontColor} from "@/style/Color";

export const SearchForColumns = styled.div`
  float: left;
  width: 100%;
  padding: 10px;
  margin: 0 auto;
`

export const SearchLabel = styled.label`
  width: auto;
  float: left;
  height: 24px;
  line-height: 24px;
  text-align: left;
  padding-right: 10px;
  font-size: 14px;
  color: ${LightFontColor}
`

export const SearchInput = styled(Input).attrs({
    size: 'small',
    allowClear: true,
    maxLength: 50
})`
  width: 120px;
  background-color: ${LightFontColor};
  float: left;

  input {
    background-color: ${LightFontColor};
  }
`
export const SearchBtnContainer = styled.div`
  width: 100px;
  margin: 0 auto;
  float: right;
`
export const OtherControlBox = styled.div`
  width: 100%;
  height: auto;
  float: left;
  margin-bottom: 10px;
  padding: 0;
  font-size: 12px;
`
export const Btn = styled(Button)`
  float: left;
  line-height: 25px;
  width: auto;
  border: none;
  box-shadow: 1px 1px 5px #888;
  background-color: #56afe7;
  color: #f0f0f0;

  &.del {
    background-color: #FF4D4F;
  }

  &.disable {
    cursor: no-drop;
    background-color: #a3a4a5;
  }
`;
